https://www.allaboutcircuits.com/worksheets/nonlinear-opamp-circuits/